home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 015 / proset3.arc / PRO-SET.DOC < prev    next >
Encoding:
Text File  |  1986-02-20  |  14.3 KB  |  259 lines

  1.  
  2.                                   PRO-SET
  3.                   An IBM Proprinter Configuration Utility
  4.                       Version 3.0 - February 21, 1986
  5.  
  6.                              by Fred Willshaw
  7.                                 207 Oak Lane
  8.                                 Cranford, NJ  07016
  9.                                 CIS 73075,321
  10.  
  11. PRO-SET is a utility program which may be used to send control strings to the
  12. IBM PROPRINTER, without the necessity of exiting the program you are currently
  13. using.  It is distributed at no cost and may be freely copied and used.
  14. Should, however, you alter the program code in anyway it is forbidden to pass
  15. this program on to others.  If you would like to see modifications to the
  16. current program please contact the author.
  17.  
  18. I will attempt to keep the current version on the following Bulletin Boards in
  19. the New York/New Jersey area.  The program will be named PROSETxx.ARC where xx
  20. will indicate the latest version number.
  21.  
  22.                  Bulletin Board          Telephone#
  23.                ------------------      --------------
  24.                The POLICE              (201) 963-3115
  25.                CFONJ                   (201) 486-2956
  26.                The GOD'S               (201) 277-6522
  27.                Omegammon               (201) 653-3893
  28.                The BOSS                (201) 568-7293
  29.                Wolves Den              (212) 874-6319
  30.                Invention Factory       (212) 431-1194
  31.                Manhattan South         (212) 432-7288 
  32.               
  33. You may either execute the program as a stand-alone DOS batch program or you
  34. may load it into resident memory.  Both modes are accomplished by placing the
  35. desired parameter(s) after the program name, then executing the program. These
  36. optional parameters are:
  37.  
  38.                   PRO-SET [R=x C=x V=x K=x S=x D=xyy]
  39.  
  40. Where R=x indicates the type run you wish to perform, the two options are:
  41.  
  42.            "R" for Load into low memory and remain resident.  The program
  43.                may be accessed by depressing the Hot-Key/Control-Key
  44.                combination you assigned, simultaneously.  This is the default.
  45.        "B" indicates that you want to run as a batch DOS job and not
  46.                remain resident.  You may also use this option even if the
  47.                program is currently resident.
  48.  
  49. Where C=x indicates the Color mode you wish to use, the two options are:
  50.  
  51.            "C" for use the IBM C/G Adapter colors. This is the default.
  52.            "N" for no colors, the NO COLORS option is primarily for users
  53.                of Amber and Green High Res monitors.  Note that if you are
  54.                using a Monochrome Adapter the program will automatically
  55.                detect this.
  56.  
  57. Where V=x is the Sound On/Off indicator for the program, the two options are:
  58.  
  59.            "Y" to get Sound warnings of input errors and invalid Drive/
  60.                Path/File Names during the Font Load procedure.  This is the
  61.                default.
  62.            "N" for no sound.
  63.  
  64. Where K=xx indicates the Hot-Key to be used along with the Control-Key
  65.            key(s) to activate the Memory Resident version.  Enter the
  66.            hexidecimal scan code value.  A partial list is shown below:
  67.  
  68.            KEY  SCAN      KEY  SCAN     KEY  SCAN     KEY  SCAN     KEY  SCAN
  69.            =========      =========     =========     =========     =========
  70.             A    1E        G    22       L    26       Q    10       V    2F
  71.             B    30        H    23       M    32       R    13       W    11
  72.             C    2E        I    17       N    31       S    1F       X    2D
  73.             D    20        J    24       O    18       T    14       Y    15
  74.             E    12        K    25       P    19*      U    16       Z    2C
  75.             F    21                    * = default
  76.  
  77. Where S=xx indicates the Control-Key key(s) to be used along with the
  78.            Hot-Key to activate the Memory Resident Version.  Enter the
  79.            hexidecimal total value from the following table, always enter
  80.            as a two digit value:
  81.  
  82.                   KEY       VALUE TO ADD       EXAMPLE (using the Default)
  83.               ===========   ============       ===========================
  84.               Right Shift        01                           CTRL  04
  85.               Left Shift         02                           ALT   08 
  86.               CTRL               04                                 ==
  87.               ALT                08                Enter total -->  0C
  88.  
  89. Where D=xyy indicates the physical location of the drive letter you are
  90.             entering.  This is used to allow you to set the internal drive
  91.             configuration to reflect your system's configuration.  The
  92.             following table shows the default values, always enter the
  93.             physical location as a two digit value:
  94.  
  95.              Drive Letter           Drive Type        Physical Location
  96.              ============           ==========        =================
  97.                   A                 Floppy                   00
  98.                   B                 Floppy                   01
  99.                   C                 Hard Disk                80
  100.                   D                 Hard Disk                81
  101.                   E                 Hard Disk                82
  102.                   F                 Hard Disk                83
  103.                   G                 Hard Disk                84
  104.                   H                 Hard Disk                85
  105.                   I                 Hard Disk                86
  106.                   J                 Hard Disk                87
  107.  
  108.             An example of using this parameter:  You have three floppy drives
  109.             A-C.  In order to make floppy drive C recognizable by the program
  110.             you would enter D=C02.  In this example the internal drive table
  111.             would be updated to search floppy drive 02H instead of hard disk
  112.             drive 80H when you request data from drive C.  This parameter is
  113.             required since the program uses the BIOS Interrupt 13H instead of
  114.             the DOS service interrupt 21H.
  115.   
  116.                             Installing Pro-set
  117.                             ------------------
  118.  
  119. In order to install the program, have PRO-SET.COM in the root library or a
  120. sub-directory in the PATH command. Then include the line PRO-SET, along with
  121. your parameter(s) in your AUTOEXEC.BAT file or issue the DOS command PRO-SET
  122. with your requested parameter(s).
  123.  
  124. When loaded as memory resident , you may then gain access to the program from
  125. any other program by depressing the Hot-Key/Control-Key combination.  The
  126. program will then intercept the keyboard interrupt (09H) and display the
  127. program menu.
  128.  
  129.                              The Program Menu's
  130.                              ------------------
  131.  
  132. The first line, [1] LPT1: -- 3:, is used to indicate which line printer port
  133. you want the control information send to.  The default is LPT1:.  If the port
  134. selected is not ready an error message will be displayed.
  135.  
  136. OPTION    COMMAND FUNCTION                    WHAT HAPPENS
  137. ------  --------------------  --------------------------------------------
  138. [A]     Set Condensed Mode    Sends <ESC> 15
  139. [B]     Stop Condensed Mode   Sends <ESC> 18
  140. [C]     Set 12 CPI            Sends <ESC> 58
  141. [D]     Set Emphasized Mode   Sends <ESC> 69
  142. [E]     Stop Emphasized Mode  Sends <ESC> 70
  143. [F]     ONE Direction Print   Sends <ESC> 85 01
  144. [G]     TWO Direction Print   Sends <ESC> 85 00
  145. [H]     Set Double Wide       Sends <ESC> 87 01
  146. [I]     Stop Double Wide      Sends <ESC> 87 00
  147. [J]     Character Set 1       Sends <ESC> 55
  148. [K]     Character Set 2       Sends <ESC> 54 02
  149. [L]     Page Handler/Reset    Displays sub-menu
  150.  
  151.    [A]  Reset Printer         Sends 24             Empty Buffer
  152.                                     18             Cancel Condensed/Set 10 CPI
  153.                                     <ESC> 45 00       Cancel Underscore
  154.                                     <ESC> 53 00    Cancel Auto Linefeed
  155.                                     <ESC> 55       Select Character Set 1
  156.                                     <ESC> 61 00 00 Clear Download Buffer
  157.                                     <ESC> 65 12    6 Lines to Inch
  158.                                     <ESC> 67 66    Set 66 Lines to Page
  159.                                     <ESC> 67 00 11 Set to 11 Inches to Page
  160.                                     <ESC> 70       Cancel Emphasized Print
  161.                                     <ESC> 72       Cancel Doublestrike
  162.                                     <ESC> 73       Standard Print Mode
  163.                                     <ESC> 82       Cancel Tab Settings
  164.                                     <ESC> 84       Cancel Sub/Superscript
  165.                                     <ESC> 85 02    Set Bidirectional Print
  166.                                     <ESC> 87 00    Cancel Double Wide Print
  167.                                     <ESC> 95 00    Cancel Overscore
  168.    [B]  Set Top of Form       Sends <ESC> 04
  169.    [C]  Form Length (Inches)  Sends <ESC> 12 00 ## (Where ## is the value
  170.    [D]  Form Length (Lines)   Sends <ESC> 12 ##     is the value you entered)
  171.  
  172. [M]     1/8" Spacing          Sends <ESC> 48
  173. [N]     7/72" Spacing         Sends <ESC> 49
  174. [O]     Set Normal Quality    Sends <ESC> 73 00
  175. [P]     Set Normal Download   Sends <ESC> 73 04
  176. [Q]     Set NLQ Normal        Sends <ESC> 73 02
  177. [R]     Set NLQ Download      Sends <ESC> 73 06
  178. [S]     Set NLQ Doublestrike  Sends <ESC> 71
  179. [T]     Stop NLQ Doublestrike Sends <ESC> 72
  180. [U]     Load a Font File      Displays sub-menu
  181.  
  182.    [1]  FONTGEN Created       Indicates that file to be downloaded was
  183.                               created by the FONTGEN program.
  184.    [2]  IBM Format            Indicates that file to be downloaded was
  185.                               created to appear as in the IBM Proprinter
  186.                               Manual page 4-30.
  187.  
  188.         The next sub-menu is then displayed with which you indicate the
  189.         Drive/Path/Data Set Name of the file to be downloaded.  After
  190.         completion if this sub-menu the file is downloaded to the
  191.         active printer.
  192.  
  193. Depressing the appropriate key will send the character string and highlight
  194. the option in the menu.  Depressing the <ESC> key will return you to the
  195. Original Program, Pro-Set Main Menu or DOS as appropriate.
  196.  
  197.                      UPDATES/MODIFICATIONS/CORRECTIONS
  198.                      ---------------------------------
  199.  
  200. Version 1.1 (01/07/86) - Added support for graphics modes 320X200 and
  201.                          640X200.  Note that this is determined by BIOS
  202.                          Interrupt 10H.  Some programs do not properly
  203.                          set this value, i.e. 1-2-3 in Graphics mode.
  204.                          Since the configuration screen cannot fit in 40
  205.                          column modes, a beep will sound if you attempt
  206.                          to use the program in 40 column mode.
  207.  
  208. Version 2.0 (01/21/86) - Added support for download fonts.  Depressing
  209.                          option U will present a sub-menu requesting the
  210.                          download font file format.  The first FONTGEN,
  211.                          is created using the FONTGEN utilities found
  212.                          on many Bulletin Boards.  It is well worth the
  213.                          download to get a copy of this program series.
  214.                          The second file format is the IBM standard
  215.                          layout as described in the PROPRINTER Manual.
  216.                          Another sub-menu will be displayed requesting
  217.                          the location and name of the font file to be
  218.                          loaded.
  219.                          A new sub-menu has taken the place of TOP
  220.                          OF FORM.  This is option L and will present a
  221.                          sub-menu offering TOP OF FORM, Form length in
  222.                          inches, Form length in lines and a Reset of the
  223.                          printer.  The Reset is taken from the Technical
  224.                          Reference Manual and issues an interrupt 17H
  225.                          with AH set to a 1.  This option does not seem
  226.                          to work on my Proprinter and as there is no
  227.                          discussion in the Proprinter Manual of such a
  228.                          feature, your helpful assistance is requested.
  229.                          When changing the LPTx: option the selected
  230.                          printer is now checked to ensure that it is
  231.                          online.  If the printer is not available, i.e.,
  232.                          turned off or offline, the program will notify
  233.                          you when selecting the printer.  However, if
  234.                          you are sending a command string and the printer
  235.                          is unavailable, the program will sit patiently
  236.                          and wait for you to turn on the device.
  237.  
  238. Version 2.1 (01/27/86) - Moved save of current path, FCB and DTA to Font
  239.                          routine in order to speed up execution for 
  240.                          non-font requests.
  241.  
  242. Version 3.0 (02/21/86) - Added ability to run as a batch program.  Allowed
  243.                          selection for color or black/white for users of
  244.                          amber/green high res screens.  Rewrote documentation.
  245.                          Added screen to show how parameters are entered in
  246.                          the event they are incorrectly entered. Converted
  247.                          all DOS Interrupt (21H) calls to ROM BIOS calls
  248.                          as the DOS calls were destroying the DOS stack
  249.                          when called from a resident program.  See the small
  250.                          print in the DOS manual !  Added ability to turn
  251.                          sound on and off.  Fixed cursor mode on Monochrome.
  252.                          Added ability to select the Hot-Key Combination to
  253.                          activate the memory resident version.  Gave ability
  254.                          to run as a DOS batch program.  Changed Printer
  255.                          Reset routine to pass individual parameters.  Added
  256.                          ability to set the internal drive table to specific
  257.                          configuration requirements.
  258.  
  259.